import http from './Ciallo'

export async function getChatHistoryAPI(params: { page: string; limit: string; name: string }) {
  return await http({
    url: '/queryDialogue',
    method: 'post',
    params,
  })
}

export async function delChatHistoryAPI(params: { ids: string }) {
  return await http({
    url: '/deleteDialogue',
    method: 'post',
    params,
  })
}
